<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>轮播广告CSS样式实现</title>
    <style>

        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        .promo {
            position: relative;
            width: 520px;
            height: 280px;
            margin: 100px auto;
            background-image: url("../img/tb.jpeg");
            background-color: #adc6ff;
        }

        [class^="pro-"] {
            position: absolute;
            top: 50%;
            margin-top: -15px;
            width: 20px;
            height: 30px;
            background: rgba(0, 0, 0, .3);
            text-align: center;
            line-height: 30px;
            text-decoration: none;
            color: #fff;
        }

        .pro-prev {
            left: 0px;
            border-top-right-radius: 15px;
            border-bottom-right-radius: 15px;
        }

        .pro-next {
            right: 0px;
            border-top-left-radius: 15px;
            border-bottom-left-radius: 15px;
        }

        .nav {
            position: absolute;
            left: 50%;
            margin-left: -35px;
            bottom: 15px;
            width: 70px;
            height: 13px;
            background: rgba(255, 255, 255, .3);
            border-radius: 7px;
        }

        .nav li {
            float: left;
            width: 8px;
            height: 8px;
            background-color: #fff;
            border-radius: 50%;
            margin: 3px;
        }

    </style>
</head>
<body>
<div class="promo">
    <a href="#" class="pro-prev"> &lt;</a>
    <a href="#" class="pro-next"> &gt;</a>
    <ul class="nav">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</div>
</body>
</html>